function checkSomeoneLoc(){
	alias = $('#alias').val();
	if(alias=='')return;
	$.ajax({
		type: "get",
		url: "map.php?ajax=ajax&alias="+alias,
		async: true,
		success: function(msg){
			if(msg=='0')window.location.href="map.php?alias="+alias;
			else $('#checkMsg').html('no locations found');
		},
        error: function(jqXHR,error,errorThrown) {
	        if(jqXHR.status==900){
				$('#checkMsg').html('no locations found');
	        }else{
	        	$('#checkMsg').html(jqXHR.status);
	        }  
       	}
	});
}